//
// Created by root on 6/22/17.
//

#ifndef FUNNY_SETTINGS_H
#define FUNNY_SETTINGS_H

#include <gtk/gtk.h>
#include "gdkkeysyms.h"  /* for GDK key values */

#include "editor.h"
#include "dialog.h"

/* settings functions */
GtkWidget *create_settings_dialog(FunnyWindow *app);
void settings_btncancel (GtkWidget *widget, FunnyWindow *app);
void settings_btnok (GtkWidget *widget, FunnyWindow *app);
void settings_fontbtn (GtkWidget *widget, FunnyWindow *app);
void chkdynwrap_toggled (GtkWidget *widget, FunnyWindow *app);
void chkshowdwrap_toggled (GtkWidget *widget, FunnyWindow *app);
void chksmarthe_toggled (GtkWidget *widget, FunnyWindow *app);
void chkwraptxtcsr_toggled (GtkWidget *widget, FunnyWindow *app);
void chkpgudmvscsr_toggled (GtkWidget *widget, FunnyWindow *app);
void chkwinrestore_toggled (GtkWidget *widget, FunnyWindow *app);
void chkexpandtab_toggled (GtkWidget *widget, FunnyWindow *app);
void chksmartbs_toggled (GtkWidget *widget, FunnyWindow *app);
void chkshowtabs_toggled (GtkWidget *widget, FunnyWindow *app);
void spintab_changed (GtkWidget *widget, FunnyWindow *app);
void chkindentwspc_toggled (GtkWidget *widget, FunnyWindow *app);
void chkindentauto_toggled (GtkWidget *widget, FunnyWindow *app);
void chkindentmixd_toggled (GtkWidget *widget, FunnyWindow *app);
void spinindent_changed (GtkWidget *widget, FunnyWindow *app);
void entry_comment_activate (GtkWidget *widget, FunnyWindow *app);
void chktrimendws_toggled (GtkWidget *widget, FunnyWindow *app);
void chkposixeof_toggled (GtkWidget *widget, FunnyWindow *app);

#endif //FUNNY_SETTINGS_H
